.excel-edit-area-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
  min-width: 200px;
  min-height: 600px;
  background-color: #fff;
  // margin: 10px;
  flex-shrink: 0;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  scroll-behavior: smooth !important;
  -webkit-user-drag: none !important;
  padding-bottom: 0px;

  // transform: scale(0.6);
  // transform-origin: 0 0;
  .excel-edit-area-angle {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9998;
    width: 43px;
    height: 29px;
    background-color: #f5f7f9;
    border-top: 1px solid rgba(212, 219, 233, 1);
    border-right: 1px solid rgba(212, 219, 233, 1);
    border-bottom: 1px solid rgba(212, 219, 233, 1);
    border-left: 1px solid rgba(212, 219, 233, 1);
    -webkit-user-drag: none !important;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 5px;
    padding-bottom: 3px;

    i {
      color: #9a9a9a !important;
      font-size: 15px !important;
    }
  }

  .excel-edit-area-scroll-y {
    position: relative;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-y: auto !important;
    overflow-x: hidden;
    border: 1px solid rgba(212, 219, 233, 1);
    box-sizing: border-box;
    -webkit-user-drag: none !important;
    transition: all ease 0.25s;

    .custom-excel-x-axis {
      position: sticky;
      top: 0;
      left: 0;
      z-index: 999;
      padding-left: 42px;
    }

    .excel-edit-area-scroll-x {
      position: relative;
      width: 100%;
      height: 100%;
      justify-content: flex-start;
      align-items: flex-start;
      overflow-y: hidden;
      overflow-x: auto;

      .custom-excel-y-axis {
        position: sticky;
        left: 0;
        top: 0;
        z-index: 1000;
      }
    }

    .excel-edit-area-scroll-x::-webkit-scrollbar {
      display: none !important;
      -ms-overflow-style: none;
      /* IE and Edge */
      scrollbar-width: none;
      /* Firefox */
    }
  }
}

// 表格拖拽样式
.react-resizable {
  position: relative;
  background-clip: padding-box;

  .react-resizable-handle {
    position: absolute;
    width: 10px;
    height: 100%;
    bottom: 0;
    right: -5px;
    cursor: col-resize;
    z-index: 1;
    // background-color: #999;
  }
}

.y-axis-item-resize.react-resizable {
  position: relative;
  background-clip: padding-box;

  .react-resizable-handle {
    position: absolute;
    width: calc(100% - 12px);
    height: 12px;
    bottom: -6px;
    left: 6px;
    cursor: row-resize;
    z-index: 1;
    // background-color: red;
  }
}

.awesome-excel-column {
  position: relative;
  justify-content: flex-start;
  align-items: center;
  background-color: #fff;
}

.awesome-excel-cell {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(212, 219, 233, 1);
  border-right: 1px solid rgba(212, 219, 233, 1);
  cursor: crosshair;
  user-select: inherit;
}

.awesome-excel-cell.awesome-excel-cell-border-right::after {
  content: "";
  display: block;
  height: calc(100% + 2px);
  width: 2px;
  position: absolute;
  top: -1px;
  right: -2px;
  background-color: #00b578;
  z-index: 10;
  transform: translateX(-30%);
  pointer-events: none;
  user-select: inherit;
}

.awesome-excel-cell::before,
.awesome-excel-cell::after {
  pointer-events: none;
  display: none;
}

.awesome-excel-cell.awesome-excel-cell-border-bottom::before {
  content: "";
  display: block !important;
  height: 2px;
  width: calc(100% + 2px);
  position: absolute;
  left: -1px;
  bottom: -2px;
  background-color: #00b578;
  z-index: 10;
  transform: translateY(-20%);
  pointer-events: none;
}

.awesome-excel-cell-overlay {
  background-color: #f5f5f8;
}

.merge-table-block {
  position: absolute;
  left: 0;
  top: 0;
  width: 215px;
  height: 215px;
  background-color: #fff;
  z-index: 999;
}

.custom-excel-row-header {
  width: 42px;
  height: 100%;
  background-color: #f5f7f9;
  color: #444e63;
  font-size: 14px;
  border-bottom: 1px solid rgba(212, 219, 233, 1);
  border-right: 1px solid rgba(212, 219, 233, 1);
  user-select: none !important;
  cursor: pointer;
  transition: all background 0.25s !important;
}

.awesome-excel-column-header {
  height: 28px;
  background-color: #f5f7f9;
  justify-content: center !important;
  align-items: center !important;
  flex-shrink: 0;
  color: #444e63;
  font-size: 14px;
  border-bottom: 1px solid rgba(212, 219, 233, 1);
  user-select: none !important;
  border-right: 1px solid rgba(212, 219, 233, 1);
  transition: all background 0.25s !important;
  cursor: pointer;
}

.custom-excel-row-header.active,
.awesome-excel-column-header.active {
  background-color: #dde0e7;
}

.excel-cell-content {
  width: 100%;
  height: 100%;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 14px;
  user-select: inherit;
  font-family: "SourceHanSerif";
  color: #000000;

  .table-cell-angle {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;

    .table-cell-angle-content {
      position: relative;
      content: "";
      position: absolute;
      left: 1px;
      top: 1px;
      border-left: 5px solid transparent;
      border-bottom: 5px solid #029c69;
      transform: rotateZ(180deg);
    }
  }

  .excel-inner-input {
    width: 100%;
    height: calc(100%);
    outline: none;
    font-size: 16px;
    border: none !important;
    border-radius: 3px;
    user-select: inherit;
    text-align: center;
    color: #000000;
  }

  .excel-inner-input::-webkit-outer-spin-button,
  .excel-inner-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }

  .excel-cell-switch-tag {
    position: absolute;
    width: 16px;
    height: 16px;
    bottom: 0;
    right: 0;
    z-index: 8;
    background-color: #00b578;
    display: none;
    justify-content: flex-end;
    align-items: flex-end;
    transform: rotateZ(270deg);
    font-size: 15px;
    color: #fff;
    text-align: center;

    .excel-cell-switch-tag-content {
      width: 24px;
      height: 24px;
      padding-left: 8px;
      padding-top: 8px;
      // background-color: red;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      // color: #00b578;
    }
  }
}

.excel-cell-content:hover {
  .excel-cell-switch-tag {
    display: flex;
  }
}

.excel-cell-text {
  width: 100%;
  font-size: 16px;
  // color: inherit;
  color: #000000;
}

.excel-cell-btn {
  min-width: 42px;
  height: 25px;
  background-color: #00b578;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #fff;
  border-radius: 3px;
  padding: 0 6px;
}

.excel-cell-btn:hover {
  background-color: #00b578 !important;
}

.awesome-excel-cell-collapse {
  height: 0px !important;
  overflow: hidden;
  border-bottom: none !important;

  .excel-cell-content {
    height: 0px !important;
    overflow: hidden;
  }
}

.awesome-excel-cell-collapse-last {
  height: 0px !important;

  .excel-cell-content {
    height: 0px !important;
    overflow: hidden;

    .excel-cell-switch-tag {
      display: none !important;
    }
  }
}

.merged-cell-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  background-color: #fff;
  z-index: 8;
  font-weight: 400;
  overflow: hidden;
}

.excel-cell-expand {
  width: 100%;
  height: 100%;
  padding: 0 8px;
  text-align: left;
  cursor: pointer;

  .excel-cell-expand-icon-containr {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center;
    transition: all ease 0.25s;

    .excel-cell-expand-icon {
      font-size: 16px;
      color: #9a9a9a !important;
    }
  }
}

// .sticky-header {
//     position: sticky;
//     top: 0;
//     left: 0;
//     // z-index: 999;
//     // background-color: red;
// }

// .sticky-left {
//     position: sticky;
//     // top: 0;
//     left: 42px;
//     z-index: 2;
// }

.excel-bottom-bar {
  width: 100%;
  height: 32px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #dde0e7;
  // background-color: #f2f2f2;
  .excel-bottom-bar-left {
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    padding-left: 12px;
    .excel-bottom-switch-bar {
      width: 120px;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
      color: #7f7f7f;
    }

    .excel-file-list {
      justify-content: flex-start;
      align-items: center;
      margin-left: 12px;

      .excel-file-item {
        height: 24px;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: #109569;
        padding: 0 12px;
        transition: all ease 0.25s;
        cursor: pointer;
        background-color: #f2f2f2;
        // text-decoration:underline
      }

      .excel-file-item:hover {
        background-color: #eee;
      }
    }
  }

  .excel-bottom-bar-right {
    flex: 1;
    height: 100%;
    justify-content: flex-end;
    align-items: center;
    padding-right: 9px;
    // background-color: red;
    .excel-scroll-bar {
      width: 520px;
      height: 16px;
      background-color: rgba(233, 236, 241, 0.8);
      border-radius: 8px;
      border: 1px solid #eee;

      .excel-scroll-bar-icon {
        height: 100%;
        width: 20px;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        color: rgb(139, 151, 175);
      }

      .excel-scroll-bar-content {
        flex: 1;
        height: 100%;
        justify-content: flex-start;
        align-items: center;

        .excel-scroll-track {
          width: 70%;
          height: 8px;
          background-color: rgb(203, 211, 221);
          border-radius: 4px;
          cursor: pointer;
          transition: all ease 0.25s;
        }

        .excel-scroll-track:hover {
          height: 10px;
          border-radius: 5px;
        }
      }
    }
  }
}

.new-excel-editor {
  position: relative;
  // width: calc(100vw - 260px) !important;
  width: calc(100%) !important;
  height: calc(100vh - 158px) !important;
  overflow: hidden;
  background-color: #fff;
  // margin: 10px;
  // padding: 10px;
  box-sizing: border-box;
  position: relative;
  scroll-behavior: smooth !important;
  -webkit-user-drag: none !important;
  padding-bottom: 0px;
  // background-color: #000;
  justify-content: center;
  align-items: center;

  .new-excel-editor-content {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    // background-color: blue;
    margin: 10px;
    border: 1px solid #dfdfdf;

    .excel-layout-container {
      position: relative !important;
      width: 100%;
      flex: 1;
      // background-color: #00b578;
    }
  }
}

.focus-cell-grid {
  position: absolute;
  top: 12px;
  left: 120px;
  width: 100px;
  height: 200px;
  border: 2px solid #00b578;
  z-index: 999;
  overflow: visible;
}

.focus-cell-grid-angle {
  position: absolute;
  top: 212px;
  left: 124px;
  width: 4px;
  height: 4px;
  background-color: #00b578;
  z-index: 1001;
}

.fortune-context-menu.luckysheet-cols-menu {
  margin-top: -42px;
  margin-left: -235px;
}

.fortune-container {
  position: relative;
}

.fortune-col-header-hover {
  display: none !important;
}

.disable-frozen {
  .fortune-container {
    .fortune-sheet-container {
      .fortune-sheet-overlay {
        .fortune-col-header-wrap {
          .fortune-col-header {
            .fortune-cols-freeze-handle {
              display: none;
            }
          }
        }
      }
    }
  }

  .fortune-rows-freeze-handle {
    display: none;
  }
}

.excel-bottom-bar-zoom-line {
  width: 220px;
}

.excel-bottom-bar-zoom-btn {
  background-color: transparent !important;
  margin: 0 3px;
}


.excel-bottom-bar-title {
  font-size: 14px;
  color: #303133;
  // margin-right: 3px;
}